<script setup lang="ts">
    import request from "@/utils/request.ts";
    import {onMounted} from "vue"
onMounted(()=>{
  request.get("/hospital/1/10").then(res=>{
    console.log("App获取到数据",res)
  })
})
</script>

<template>
  <div>
   <div class="container">
    <HospitalTop></HospitalTop>
   <div style="height: 70px;"></div>
    <div class="content">
     <router-view></router-view>
    </div>
    <HospitalBottom></HospitalBottom>
   </div>
  </div>
  
</template>

<style scoped lang="scss">
.container{
display: flex;
flex-direction: column;
align-items: center;
.content{
  min-height: 700px;
  width: 1200px;
  background: pink;
  // padding-top:70px;
}}
</style>
